package com.example.financechain.domain.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author yy
 * @since 2023-04-24
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("sys_blockexplore")
public class Blockexplore implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 区块号
     */
    private Long sysBlockId;

    /**
     * 哈希值
     */
    private String sysHash;

    /**
     * 前一块的哈希值
     */
    private String sysPrehash;

    private LocalDateTime blocktime;

    /**
     * 提交事务的身份
     */
    private String identity;

    /**
     * 记录的账本信息
     */
    @TableField("BlockInfo")
    private String blockinfo;

    /**
     * 交易ID
     */
    private String txid;

}
